import Vue from 'vue';

export default Vue.extend({
	functional: true,
	props: {
		render: Function,
		params: Object,
	},
	render(h, ctx) {
		if (typeof ctx.props.render === 'function') {
			return ctx.props.render(h, ctx, ctx.props.params);
		}
	},
});